package com.isoftstone.dao;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class demo {
public List<Map<String,Object>> getDemo(){
	   List<Map<String,Object>> l=new ArrayList();
	    Map map=new HashMap();
	    map.put("title","第一帖子");
	    map.put("auth","小王");
	    map.put("updatetime","2017-09-22 09:47:12 ");
	      Map map1=new HashMap();
	      map1.put("title","第二帖子");
	      map1.put("auth","小王2");
	      map1.put("updatetime","2017-09-22 09:47:13 ");
	      Map map2=new HashMap();
	      map2.put("title","第一帖子3");
	      map2.put("auth","小王3");
	      map2.put("updatetime","2017-09-22 09:47:14 ");
	      Map map3=new HashMap();
	      map3.put("title","第一帖子4");
	      map3.put("auth","小王4");
	      map3.put("updatetime","2017-09-22 09:47:15 ");
	      l.add(map);
	      l.add(map1);
	      l.add(map2);
	      l.add(map3);
return l;
}
}
